package com.dykj.dao;

import com.dykj.entity.Purchaseorderinfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PurchaseorderinfoMapper {
    int insert(Purchaseorderinfo record);

    int insertSelective(Purchaseorderinfo record);

    List<Map<String,Object>> supplyLine(@Param("startTime") String startTime, @Param("endTime") String endTime);

    List<Map<String,Object>> supplierQuantityAnalysis();

    List<Map<String,Object>> countSupplier();

    List<Map<String, Object>> ysAnalysisGYS(@Param("mapmap") Map<String, Object> mapmap);

    List<Map<String, Object>> getFItemProportionByFSupplyID(@Param("supplierIdArr") List<String> supplierIdArr);

    List<Map<String, Object>> getFSupplyProportionByFItemID(@Param("fItemIDArr") List<String> fItemIDArr);

    
}